#ifndef SUBDIALOG_H
#define SUBDIALOG_H

#include <QDialog>
#include "database.h"

namespace Ui {
    class SubDialog;
}

class SubDialog : public QDialog
{
    Q_OBJECT

public:
    explicit SubDialog(int type,int id, Database* db,QWidget *parent = 0);
    int type;
    int id;
    ~SubDialog();

private:
    Ui::SubDialog *ui;
};

#endif // SUBDIALOG_H
